home *** CD-ROM | disk | FTP | other *** search
- /* Install Jot to desktop */
-
-
-
- call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
- call SysLoadFuncs
-
- call SysFileTree "Jot.exe", "exedir.", "FO"
- PathandProg = ExeDir.1
- InstallDir = Directory()
-
- say 'Installing Jot from ' || Installdir || ' to desktop'
-
- rc = SysCreateObject('WPProgram','Jot',,
- '<WP_DESKTOP>',,
- 'EXENAME=' || PathandProg || ';' ||,
- 'STARTUPDIR=' || InstallDir || ';',,
- 'ReplaceIfExists')
- if rc = 1 then
- say Jot successfully installed
- else
- say Unable to install Jot to desktop
-